package cn.iocoder.yudao.module.erp.controller.admin.stocksmove.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - ERP 库存调拨单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StocksMoveRespVO {

    @Schema(description = "调拨编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21480")
    @ExcelProperty("调拨编号")
    private Long id;

    @Schema(description = "调拨单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("调拨单号")
    private String no;

    @Schema(description = "调出仓库编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9310")
    @ExcelProperty("调出仓库编号")
    private Long fromWarehouseId;

    @Schema(description = "调入仓库编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18641")
    @ExcelProperty("调入仓库编号")
    private Long toWarehouseId;

    @Schema(description = "调入仓库名")
    @ExcelProperty("调入仓库名")
    private String toWarehouseName;

    @Schema(description = "调拨时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("调拨时间")
    private LocalDateTime moveTime;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "流程实例的编号", example = "8437")
    @ExcelProperty("流程实例的编号")
    private String processInstanceId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}